﻿using Castle.MicroKernel.Registration;
using Castle.MicroKernel.SubSystems.Configuration;
using Castle.Windsor;

namespace Pipeline.Middleware.Contractual.Installer
{
    public class ApplicationBuilderInstaller:IWindsorInstaller
    {
        public void Install(IWindsorContainer container, IConfigurationStore store)
        {
            container.Register(Component.For<IApplicationBuilder>().ImplementedBy<ApplicationBuilder>().LifestyleScoped());
            
        }
    }
}